package com.qiaofang.applet.service.other.repository;

import com.qiaofang.applet.service.other.domain.ShortCode;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author daiyuxiang
 */
@Repository
@Deprecated
public interface ShortCodeRepository extends MongoRepository<ShortCode, String> {
    ShortCode findByCodeAndBusinessType(String code, Integer businessType);

    ShortCode findByBusinessUniqueUuidAndBusinessType(String businessUniqueUuid, Integer businessType);
}
